package com.f.service;

import com.f.bean.Dept;
import com.f.mapper.DeptMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptService {
    @Autowired
    private DeptMapper deptMapper;

     public List<Dept> getAll(){
        return deptMapper.getAll();
    }
}
